package com.yanqu.road.entity.log.cross.suitang;

import com.yanqu.road.entity.FieldTypeAnnotation;
import com.yanqu.road.entity.log.ServerBaseLog;
import com.yanqu.road.entity.log.maidian.BaseLogEntity;

@FieldTypeAnnotation(tableName = "t_l_ck_suitang_group", desc = "逐鹿隋唐-分组日志", autoSave = true, uploadCk = true, dataUpload = true, eventName = "chasedeer_group", isCross = true)
public class LogCrossSuiTangGroup extends ServerBaseLog {

    @FieldTypeAnnotation(desc = "活动ID", dataAttribute = "activityId", isIndex = true)
    private int activityId;
    @FieldTypeAnnotation(desc = "分组ID", dataAttribute = "chasedeer_groid", isIndex = true)
    private int groupId;
    @FieldTypeAnnotation(desc = "商会ID", dataAttribute = "chasedeer_guild")
    private String unionId;
    @FieldTypeAnnotation(desc = "战场id", dataAttribute = "chasedeer_battle")
    private long warTypeId;
    @FieldTypeAnnotation(desc = "小组id", dataAttribute = "chasedeer_teamid")
    private long actGroupId;

    @FieldTypeAnnotation(desc = "根据地id", dataAttribute = "chasedeer_area")
    private long homeId;
    @FieldTypeAnnotation(desc = "商会总赚速", dataAttribute = "chasedeer_speed")
    private long totalEarnSpeed;

    public LogCrossSuiTangGroup(int activityId, int groupId, String unionId, long warTypeId, long actGroupId, long homeId, long totalEarnSpeed) {
        this.activityId = activityId;
        this.groupId = groupId;
        this.unionId = unionId;
        this.warTypeId = warTypeId;
        this.actGroupId = actGroupId;
        this.homeId = homeId;
        this.totalEarnSpeed = totalEarnSpeed;
    }

    @Override
    public long getUserId() {
        return 0;
    }
}
